home *** CD-ROM | disk | FTP | other *** search
/ SGI Cosmo Software 1997 May / SGI Cosmo Software 1997 May.iso / dist6.2 / ifl_eoe.idb / usr / lib / ifl / ifl_database.z / ifl_database
Text File  |  1997-05-23  |  2KB  |  87 lines

  1. !   This file defines the bundled IFL-supported image file formats.
  2. !   You can add your own formats by defining a similar file that 'includes' 
  3. !   this one and using the IFL_DATABASE environment variable to point at it.  
  4. !   See the IFL(1) man page for more details.
  5.  
  6. format SGI 
  7.     match        ushort(0) == 0x01da || ushort(0) == 0xda01
  8.     description        "Classic SGI image"
  9.     dso            libiflSGI.so
  10.     subsystem        "ifl_eoe.sw.c++"
  11.     suffixes        .rgb,.sgi,.rgba,.bw,.screen
  12.  
  13. format TIFF
  14.     match           ulong(0) == 0x49492a00 || ulong(0) == 0x4d4d002a
  15.     description          "TIFF image"
  16.     dso            libiflTIFF.so
  17.     subsystem        "ifl_eoe.sw.c++"
  18.     suffixes        .tif,.tiff
  19.  
  20. format JFIF
  21.     match           ulong(0) == 0xffd8ffe0 && string(6,4) == "JFIF"
  22.     description          "JFIF/JPEG image"
  23.     dso            libiflJFIF.so
  24.     subsystem        "ifl_eoe.sw.c++"
  25.     suffixes        .jpg,.jpeg,.jfif
  26.  
  27. format FIT
  28.     match           string(0,4) == "IT01" || string(0,4) == "IT02"
  29.     description          "FIT image"
  30.     dso            libiflFIT.so
  31.     subsystem        "ifl_eoe.sw.c++"
  32.     suffixes        .fit
  33.  
  34. format PCD
  35.     match           string(2048,7) == "PCD_IPI"
  36.     description         "Kodak PhotoCD image"
  37.     dso            libiflPhotoCD.so
  38.     access        readonly
  39.     subsystem        "ifl_eoe.sw.c++"
  40.     suffixes        .pcd
  41.  
  42. format PCDO
  43.     match           string(0,7) == "PCD_OPA"
  44.     description         "Kodak PhotoCD overview"
  45.     dso            libiflPhotoCD.so
  46.     access        readonly
  47.     subsystem        "ifl_eoe.sw.c++"
  48.     suffixes        .pcdo
  49.  
  50. format GIF
  51.     match        string(0,6) == "GIF87a" || string(0,6) == "GIF89a"
  52.     description        "GIF image"
  53.     dso            libiflGIF.so
  54.     subsystem        "ifl_eoe.sw.c++"
  55.     suffixes        .gif
  56.  
  57. format PPM
  58.     match        string(0,2) == "P1" ||  string(0,2) == "P2" || 
  59.             string(0,2) == "P3" ||  string(0,2) == "P4" || 
  60.             string(0,2) == "P5" ||  string(0,2) == "P6"
  61.     description        "PPM image"
  62.     dso            libiflPPM.so
  63.     subsystem        "ifl_eoe.sw.c++"
  64.     suffixes        .ppm,.pgm,.pbm,.pnm
  65.  
  66. format Raw
  67.     description          "Raw image"
  68.     dso            libiflRaw.so
  69.     subsystem        "ifl_eoe.sw.c++"
  70.     suffixes        .raw
  71.  
  72. format PNG
  73.     match           ulong(0) == 0x89504e47 && ulong(4) == 0x0d0a1a0a
  74.     description          "PNG image"
  75.     dso            libiflPNG.so
  76.     subsystem        "ifl_eoe.sw.c++"
  77.     suffixes        .png
  78.  
  79. ! The following formats are "under construction"
  80.  
  81. format ilTCL
  82.     match        string(0,6) == "#ilTCL"
  83.     description          "IL TCL script image"
  84.     dso            libilTCL.so
  85.     subsystem        "imgtools.sw.ifl"
  86.     suffixes        .iltcl
  87.